package org.deltaset.meta.internal.testvisit;

import java.io.Serializable;
import org.deltaset.meta.internal.mockmeta.persistence.Embeddable;

/**
 *
 * @author dmakariev
 */
@Embeddable
public class Common implements CityAware, Serializable {
    private String city;
    private String country;
    
    private InnerCommon innerCommon;

    public InnerCommon getInnerCommon() {
        if(null==innerCommon){
            innerCommon = new InnerCommon();
        }
        return innerCommon;
    }

    public void setInnerCommon(InnerCommon innerCommon) {
        this.innerCommon = innerCommon;
    }

    @Override
    public String getCity() {
        return city;
    }

    @Override
    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }
    
}
